function SpecialController($scope,dfg){

    var http=dfg.$HTTP;

    $scope.car_type=[];

    $scope.bonus_service=[];

    $scope.order={};
    $scope.order.bonus_service=[];

    $scope.order.user_id="0";

    http.get("/cars",{},function(data){
        $scope.car_type=data.rows;
        $scope.$apply();
    });
    http.get("/bonus_services",{},function(data){
        $scope.bonus_service=data.rows;
        $scope.$apply();
    });

    //test
    $scope.order.origin_name="常熟";
    $scope.order.origin_gps_x="120.749443848000000";
    $scope.order.origin_gps_y="31.652735793383000";
    $scope.order.destination_name="test";
    $scope.order.destination_gps_x="120.749443848000000";
    $scope.order.destination_gps_y="31.652735793383000";
    $scope.order.departure_time=1432273984091;
    $scope.order.departure_time_start=1432275784091;
    $scope.order.departure_time_end=1432272184091;
    $scope.order.bonus_services="1:12,2:test";
    $scope.order.type=2;

    //提交订单
    $scope.submit=function(){


        http.post('/orders/special',$scope.order,function(data){

        });
    };


    //界面控制
    $scope.step=1;
    $scope.prev=function(){
        $scope.step--;
    };
    $scope.next=function(){
        $scope.step++;
    };




}